package com.ssy.lingxi.settle.accounts.repository;

import com.ssy.lingxi.settle.accounts.entity.PlatformSettlementStrategyMemberDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * 平台结算策略成员
 * @author 伍将
 * @date 2020/11/4
 * @version 2.0.0
 */
public interface PlatformSettlementStrategyMemberRepository extends JpaRepository<PlatformSettlementStrategyMemberDO, Long>, JpaSpecificationExecutor<PlatformSettlementStrategyMemberDO> {

    /**
     * 根据策略id删除下属策略会员
     * @author 伍将
     * @date 2020/10/22
     * @param strategyId 策略id
     **/
    void deleteByStrategyId(Long strategyId);
}
